remove the version number checks in favor of actual functionality
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 15 Aug 2021 18:32:57 +0000 (19:32 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 15 Aug 2021 18:32:57 +0000 (19:32 +0100)
commitba816e79b029c27698ee980b0749725c770959b9
tree41805647e3c19139c1d48100298a6769fbf10db5
parente8e5a7a3befe3070418c5df22501a7d1d6d483d6
remove the version number checks in favor of actual functionality

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=211369133cf40b2f
Last-Update: 2021-08-10

MariaDB library version 3.2 no longer returns the server version in the
10.x range but the library version itself, which is lower than 4.x. That
meant we concluded the server did not support prepared statements.

And because of the lack of prepared statements, all QDateTime
conversions failed, because of the timezone. I don't know if this was
intended or what, but it's a side issue.

Gbp-Pq: Name mysql_remove_version_checks.diff
src/plugins/sqldrivers/mysql/qsql_mysql.cpp